﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KryptecizerBase.EventArguments
{
    /// <summary>
    /// DecryptionEndedEventArgs contains the decrypted text.
    /// </summary>
    class DecryptionEndedEventArgs : EventArgs
    {
        /// <summary>
        /// Gets or sets the decrypted text.
        /// </summary>
        /// <value>The decrypted text.</value>
        public string DecryptedText { get; private set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="DecryptionEndedEventArgs"/> class.
        /// </summary>
        /// <param name="text">The text.</param>
        public DecryptionEndedEventArgs(string text)
        {
            DecryptedText = text;
        }
    }
}
